package com.bootdo.screen.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.screen.dao.TypetruenumDao;
import com.bootdo.screen.domain.TypetruenumDO;
import com.bootdo.screen.service.TypetruenumService;



@Service
public class TypetruenumServiceImpl implements TypetruenumService {
	@Autowired
	private TypetruenumDao typetruenumDao;
	
	@Override
	public TypetruenumDO get(Long id){
		return typetruenumDao.get(id);
	}
	
	@Override
	public List<TypetruenumDO> list(Map<String, Object> map){
		return typetruenumDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return typetruenumDao.count(map);
	}
	
	@Override
	public int save(TypetruenumDO typetruenum){
		return typetruenumDao.save(typetruenum);
	}
	
	@Override
	public int update(TypetruenumDO typetruenum){
		return typetruenumDao.update(typetruenum);
	}
	
	@Override
	public int remove(Long id){
		return typetruenumDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return typetruenumDao.batchRemove(ids);
	}

	@Override
	public int saveUpdate(TypetruenumDO typetruenum) {
		return typetruenumDao.saveUpdate(typetruenum);
	}

}
